<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ page session="false"%>
<%@ page contentType="text/html; charset=UTF-8"%>

<div class="content">
	<p>用户注册：</p>
	<!-- 
	<form action="user/register" method="POST">
		<p>用户名：<input type="text" /></p>
		<p>密　码：<input type="password" /></p>
		<input type="submit" />
	</form>
	 -->
	<!-- 使用spring标签处理表单 -->
	<form action="user/register" method="post">
		<p>用户名：<input type="text" name="username" /></p>
		<p>密　码：<input type="password" name="password" /></p>
		<input type="submit" />
	</form>
	
</div>

<script language="JavaScript" type="text/javascript">
	//<![CDATA[
	$(function(){
		try{
		}catch(e){alert(e);}
	});
	//]]>
</script>